package com.zhongkun.datahome.service.req.qry;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;

/**
 * Created by likui at 2021/9/9 2:06 PM
 */
@Data
public class PageQry {
    @ApiModelProperty(value = "分页查询页码数")
    @Min(value = 1, message = "页码最小为1")
    private Integer pageNo = 1;

    @ApiModelProperty(value = "分页查询每页查询条数")
    private Integer pageSize = 10;
}
